home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / mailx6 / _setup.2 / Group4 / OCXMSGF.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-06-08  |  6.6 KB  |  227 lines

  1. VERSION 4.00
  2. Begin VB.Form MsgForm 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "Message Form"
  6.    ClientHeight    =   4125
  7.    ClientLeft      =   1785
  8.    ClientTop       =   1770
  9.    ClientWidth     =   6105
  10.    BeginProperty Font 
  11.       name            =   "MS Sans Serif"
  12.       charset         =   1
  13.       weight          =   700
  14.       size            =   8.25
  15.       underline       =   0   'False
  16.       italic          =   0   'False
  17.       strikethrough   =   0   'False
  18.    EndProperty
  19.    Height          =   4500
  20.    Left            =   1740
  21.    LinkTopic       =   "Form1"
  22.    MDIChild        =   -1  'True
  23.    ScaleHeight     =   4125
  24.    ScaleWidth      =   6105
  25.    Top             =   1440
  26.    Width           =   6195
  27.    Begin VB.PictureBox Picture1 
  28.       BackColor       =   &H00C0C0C0&
  29.       Height          =   615
  30.       Left            =   -120
  31.       ScaleHeight     =   585
  32.       ScaleWidth      =   6225
  33.       TabIndex        =   12
  34.       Top             =   0
  35.       Width           =   6255
  36.       Begin VB.CommandButton BtnSend 
  37.          Caption         =   "Send"
  38.          Height          =   375
  39.          Left            =   4305
  40.          TabIndex        =   16
  41.          Top             =   120
  42.          Width           =   1125
  43.       End
  44.       Begin VB.CommandButton BtnForward 
  45.          Caption         =   "Forward"
  46.          Height          =   375
  47.          Left            =   2880
  48.          TabIndex        =   15
  49.          Top             =   120
  50.          Width           =   1155
  51.       End
  52.       Begin VB.CommandButton btnReply 
  53.          Caption         =   "Reply"
  54.          Height          =   375
  55.          Left            =   1470
  56.          TabIndex        =   14
  57.          Top             =   120
  58.          Width           =   1170
  59.       End
  60.       Begin VB.CommandButton BtnHide 
  61.          Caption         =   "Hide Msg"
  62.          Height          =   375
  63.          Left            =   120
  64.          TabIndex        =   13
  65.          Top             =   120
  66.          Width           =   1125
  67.       End
  68.    End
  69.    Begin VB.ComboBox szFileList 
  70.       Height          =   315
  71.       Left            =   1320
  72.       TabIndex        =   11
  73.       Top             =   2775
  74.       Width           =   1935
  75.    End
  76.    Begin VB.TextBox szOriginator 
  77.       Height          =   375
  78.       Left            =   4440
  79.       TabIndex        =   10
  80.       Top             =   2760
  81.       Width           =   1575
  82.    End
  83.    Begin VB.TextBox szMsgID 
  84.       Height          =   495
  85.       Left            =   1320
  86.       TabIndex        =   7
  87.       Top             =   3240
  88.       Width           =   4695
  89.    End
  90.    Begin VB.TextBox szTime 
  91.       Height          =   375
  92.       Left            =   1200
  93.       TabIndex        =   6
  94.       Top             =   2280
  95.       Width           =   4815
  96.    End
  97.    Begin VB.TextBox szNoteText 
  98.       Height          =   855
  99.       Left            =   1200
  100.       MultiLine       =   -1  'True
  101.       TabIndex        =   3
  102.       Top             =   1320
  103.       Width           =   4815
  104.    End
  105.    Begin VB.TextBox szSubject 
  106.       Height          =   375
  107.       Left            =   1200
  108.       TabIndex        =   1
  109.       Top             =   840
  110.       Width           =   4815
  111.    End
  112.    Begin Mailx16Lib.MFile MFile1 
  113.       Left            =   120
  114.       Top             =   3600
  115.       _version        =   65542
  116.       _extentx        =   900
  117.       _extenty        =   900
  118.       _stockprops     =   0
  119.       bindstring      =   "MMsg1"
  120.    End
  121.    Begin Mailx16Lib.MReci MReci1 
  122.       Left            =   720
  123.       Top             =   3600
  124.       _version        =   65542
  125.       _extentx        =   900
  126.       _extenty        =   900
  127.       _stockprops     =   0
  128.       bindstring      =   "MMsg1"
  129.    End
  130.    Begin Mailx16Lib.MMsg MMsg1 
  131.       Left            =   360
  132.       Top             =   1800
  133.       _version        =   65542
  134.       _extentx        =   900
  135.       _extenty        =   900
  136.       _stockprops     =   0
  137.       bindstring      =   "FormTag1.MSess1"
  138.       fastfetch       =   -1  'True
  139.    End
  140.    Begin Mailx16Lib.MForm MForm1 
  141.       Left            =   4200
  142.       Tag             =   "FormTag3"
  143.       Top             =   3840
  144.       _version        =   65542
  145.       _extentx        =   2778
  146.       _extenty        =   500
  147.       _stockprops     =   0
  148.       mxformname      =   "FormTag3"
  149.    End
  150.    Begin VB.Label Label6 
  151.       BackColor       =   &H00C0C0C0&
  152.       Caption         =   "Attachments:"
  153.       Height          =   375
  154.       Left            =   120
  155.       TabIndex        =   9
  156.       Top             =   2760
  157.       Width           =   1215
  158.    End
  159.    Begin VB.Label Label5 
  160.       BackColor       =   &H00C0C0C0&
  161.       Caption         =   "Originator:"
  162.       Height          =   375
  163.       Left            =   3450
  164.       TabIndex        =   8
  165.       Top             =   2805
  166.       Width           =   960
  167.    End
  168.    Begin VB.Label Label4 
  169.       BackColor       =   &H00C0C0C0&
  170.       Caption         =   "Message ID:"
  171.       Height          =   375
  172.       Left            =   120
  173.       TabIndex        =   5
  174.       Top             =   3360
  175.       Width           =   1215
  176.    End
  177.    Begin VB.Label Label3 
  178.       BackColor       =   &H00C0C0C0&
  179.       Caption         =   "Time:"
  180.       Height          =   270
  181.       Left            =   150
  182.       TabIndex        =   4
  183.       Top             =   2355
  184.       Width           =   855
  185.    End
  186.    Begin VB.Label Label2 
  187.       BackColor       =   &H00C0C0C0&
  188.       Caption         =   "Note Text:"
  189.       Height          =   375
  190.       Left            =   120
  191.       TabIndex        =   2
  192.       Top             =   1320
  193.       Width           =   975
  194.    End
  195.    Begin VB.Label Label1 
  196.       BackColor       =   &H00C0C0C0&
  197.       Caption         =   "Subject:"
  198.       Height          =   375
  199.       Left            =   120
  200.       TabIndex        =   0
  201.       Top             =   840
  202.       Width           =   855
  203.    End
  204. Attribute VB_Name = "MsgForm"
  205. Attribute VB_Creatable = False
  206. Attribute VB_Exposed = False
  207. Private Sub BtnForward_Click()
  208.     MMsg1.NoteText = szNoteText
  209.     MMsg1.Action = ACTION_FORWARD
  210.     MMsg1.Action = ACTION_SENDMSG
  211. End Sub
  212. Private Sub BtnHide_Click()
  213.     Unload Me
  214. End Sub
  215. Private Sub btnReply_Click()
  216.     MMsg1.Action = ACTION_REPLY
  217.     MMsg1.Action = ACTION_SENDMSG
  218. End Sub
  219. Private Sub BtnSend_Click()
  220.     MMsg1.Subject = szSubject
  221.     MMsg1.NoteText = szNoteText
  222.     MMsg1.Action = ACTION_SENDMSG
  223.     If MMsg1.ErrorNum <> 0 Then
  224.         MsgBox "Error Sending Message"
  225.     End If
  226. End Sub
  227.